@charset "utf-8";

/*
 * ================================================================================================= 
 * common 公用
 * ================================================================================================= 
 */

/*栅格系统 用于父级*/
.ub 
{
	display: -webkit-box !important;
	display: box !important;
	position:relative;
}

/*等分制 写几个 几等分  想要固定宽度时设置min-width和max-width*/
.ub-f1
{
	-webkit-box-flex: 1; 
	box-flex: 1;
}

/*.ub-f2
{
	-webkit-box-flex: 2; 
	box-flex: 2;
}

.ub-f3
{
	-webkit-box-flex: 3; 
	box-flex: 3;
}

.ub-f4
{
	-webkit-box-flex: 4; 
	box-flex: 4;
}*/

.hidden{
	display: none;
}

.hiddenIm{
	display: none !important;
}

.show{
	display: block;
}

.showIm{
	display: block !important;
}

.container{
	opacity: 0;
}

.f{
	float: left;
}

.r{
	float: right;
}

/*按钮点击*/
.ripple {
	position: relative;
	overflow: hidden
}

.ripple:after {
	content: "";
	background: rgba(255,255,255,0.6);
	display: block;
	position: absolute;
	border-radius: 50%;
	padding-top: 240%;
	padding-left: 240%;
	margin-top: -120%;
	margin-left: -120%;
	opacity: 0;
	transition: all 1s
}

.ripple:active:after {
	padding-top: 0;
	padding-left: 0;
	margin-top: 0;
	margin-left: 0;
	opacity: 1;
	transition: 0s
}

/*单行省略号*/
.s-l-ellipsis {
	/*width: 80%; 必须有宽度 默认80%*/
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/*多行省略号*/
.m-l-ellipsis {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3; /*默认3行*/
	overflow: hidden;
}

/*0.5px的线 */
.border-line:before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 1px;
    border-top: 1px solid #D9D9D9;
    color: #D9D9D9;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

.border-line:after {
    content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 1px;
    border-bottom: 1px solid #D9D9D9;
    color: #D9D9D9;
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

/*上*/
.border-up-line:before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 1px;
    border-top: 1px solid #D9D9D9;
    color: #D9D9D9;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

/*下*/
.border-down-line:after {
    content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 1px;
    border-bottom: 1px solid #D9D9D9;
    color: #D9D9D9;
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

/*
 --------------------------
 * loading
 --------------------------
 */
.loading{
	position: fixed;
	left: 50%;
	top: 50%;
	width: 130px;
	height: 50px;
	margin-left: -60px;
	margin-top: -25px;
	background-color: #fff;
	border-radius: 4px;
	overflow: hidden;
	padding-left: 5px;
}

.loading-lf{
	max-width: 50px;
	min-width: 50px;
	margin-top: 11px;
}

.loading-txt{
	overflow: hidden;
}

.loading-txt span{
	display: block;
	height: 14px;
	line-height: 14px;
	margin-top: 18px;
	color: #999;
}

/*2D旋转的设置 圆环*/
.loader {
	margin: auto;
    position: relative;
    text-indent: -9999em;
    border-top: 2px solid rgba(76,201,213, 0.2);
    border-right: 2px solid rgba(76,201,213, 0.2);
    border-bottom: 2px solid rgba(76,201,213, 0.2);
    border-left: 2px solid #4cc9d5;
    -webkit-animation: Loading 1.1s infinite linear;
    animation: Loading 1.1s infinite linear;
}

.loader,
.loader:after {
    border-radius: 50%;
    width: 28px;
    height: 28px;
}

@-webkit-keyframes Loading {
    0% {
	    -webkit-transform: rotate(0deg);
	    transform: rotate(0deg);
    }
    100% {
	    -webkit-transform: rotate(360deg);
	    transform: rotate(360deg);
	}
}

@keyframes Loading {
    0% {
	    -webkit-transform: rotate(0deg);
	    transform: rotate(0deg);
    }
    100% {
	    -webkit-transform: rotate(360deg);
	    transform: rotate(360deg);
	}
}

/*
 --------------------------
 * 开始等待
 --------------------------
 */
.progress{
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.3);
	z-index: 99999;
}

.progress-con{
	position: fixed;
	left: 50%;
	top: 50%;
	width: 300px;
	padding: 30px 0px;
	background-color: #fff;
	z-index: 1000001;
	margin-top: -100px;
	margin-left: -150px;
	border-radius: 6px;
}

.progress-con img{
	display: block;
	width: 40px;
	margin: auto;
	-webkit-animation: Loading 1.1s infinite linear;
    animation: Loading 1.1s infinite linear;
}

.progress-con p{
	text-align: center;
	padding-top: 10px;
}

/*
 --------------------------
 * 提示弹框
 --------------------------
 */
.toast{
	position: fixed;
	top: 50%;
	left: 50%;
	height: 60px;
	margin-top: -25px;
	background-color: rgba(0,0,0,0.8);
	border-radius: 30px;
	overflow: hidden;
	z-index: 999999999;
}

.toast span{
	display: block;
	height: 14px;
	line-height: 14px;
	margin-top: 23px;
	color: #fff;
	padding: 0 30px;
	font-size: 18px;
}

/*
 --------------------------
 * 全页面遮罩
 --------------------------
 */
.mask-cover{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: #000;
	z-index: 99;
	transition: all 0.3s linear;
	visibility: hidden;
	opacity: 0;
}

/*遮罩淡入*/
.mask-fade-in{
	visibility:visible; 
	opacity:0.5;
}

/*遮罩淡出*/
.mask-fade-out{
	visibility: hidden;
	opacity: 0;
}